package day06;

import java.util.Random;
import java.util.Scanner;

public class MultiTable {
    public static void main(String[] args) {
        say();
        sayHi("张三",18);
        int sum1=sum(9,1);
        System.out.println(sum1);


    }



    public static int[]generateArray(){
        Random rand= new Random();
        int[] a1=new int[10];
        for (int i=0;i<a1.length;i++){
            a1[i] =rand.nextInt(100);
        }
        return a1;
    }


    public static int sum(int num1,int num2){
      int  num=num1+num2;
      return num;
    }
    public static void sayHi (String name,int age){
        System.out.println("大家好,我叫"+name+"今年"+age+"岁了");
    }
    public static void say(){
        System.out.println("吃饭了吗");
    }
}
